﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;

namespace mds.Queue.MSMQServer
{
  internal  class MSMQConfigManager
    {
        private static MSMQConfigManager _instance = new MSMQConfigManager();

        internal static MSMQConfigManager Instance
        {
            get { return MSMQConfigManager._instance; }
           
        }
        public MSMQServerConfig GetConfig()
        {
            return (MSMQServerConfig)ConfigurationManager.GetSection(DefineTable.ServiceConfigNodeName);
        }
    }
}
